const Base = require('./base.js');

module.exports = class extends Base {
  __before() {
    super.__before();
    this.adModel = this.model('platform_ad');
  }
  async listAction() {
    return this.success(await this.model('platform_ad').select());
  }
};
